import getEnumsManager from '@/common/enum';

export const taskStateEnum = getEnumsManager([
  { value: '0', text: '草稿', name: 'Draft' },
  { value: '1', text: '执行中', name: 'Doing' },
  { value: '2', text: '已归档', name: 'Completed' }
]);
export const completedStateEnum = getEnumsManager([
  { value: '0', text: '未完成', name: 'TBC' },
  { value: '1', text: '部分完成', name: 'PartCompleted' },
  { value: '9', text: '已完成', name: 'Finished' }
]);
export const receiveStateEnum = getEnumsManager([
  { value: '0', text: '未接收', name: 'NoReceive' },
  { value: '1', text: '已接收', name: 'Receive' }
]);
export const expectStateEnum = getEnumsManager([{ value: '1', text: '是', name: 'Unfinished' }]);
export const statisReceiveEnum = getEnumsManager([
  { value: '0', text: '未完成', name: 'NoReceive' },
  { value: '9', text: '已完成', name: 'Receive' }
]);
